package com.mmall.common.enums;

/**
 * @author gg
 * @version HttpMethodEnum.java, v 0.1 2019-05-27 10:01 gg
 */
public enum HttpMethodEnum {

    POST("POST"),
    GET("GET"),
    PUT("PUT"),
    PATCH("PATCH"),
    DELETE("DELETE"),
    HEAD("HEAD"),
    OPTIONS("OPTIONS");

    private String name;

    HttpMethodEnum(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>name</tt>.
     *
     * @return property value of name
     */
    public String getName() {
        return name;
    }

}